@import url('../../css/common.less');
.recipe-type-section{
	margin-top: 30px;
}
.recipe-type-list:after{
	.clear;
}
.recipe-type-list li{
	.padding-tb-5;
	width: 50%;
	height: 40px;
	border-bottom: 1px solid #eee;
	float: left;
}
.recipe-type-list li:nth-child(2n+1) p{
	border-right: 1px solid #eee;
}
.recipe-type-list li p{
	padding-left: 15px;
	height: 100%;
}
.recipe-type-list li span{
	height: 100%;
	line-height: 30px;
	text-align: center;
}
.alert-type-layer{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	display: none;
}
.alert-type-content{
	position: absolute;
	left: 0;
	bottom: 0;
	.padding-custom(25px,35px,20px,20px);
	width: 100%;
}
.alert-type-list:after{
	.clear;
}
.alert-type-list li{
	margin-bottom: 20px;
	width: 30%;
	height: 35px;
	border-radius: 5px;
	line-height: 35px;
	text-align: center;
	float: left;
}
.alert-type-list li.active{
	.cl-b-lorange;
	.cl-f-white;
}
.alert-type-list li:nth-child(3n+2){
	margin-right: 5%;
	margin-left: 5%;
}
.alert-type-cancel{
	margin-top: 15px;
	width: 100%;
	height: 35px;
	border-radius: 5px;
	line-height: 35px;
	text-align: center;
}
.alert-slideIn{
	-webkit-animation:slideIn .7s forwards;
	animation:slideIn .7s forwards;
}
.alert-slideOut{
	-webkit-animation:slideOut .5s;
	animation:slideOut .5s;
}
@-webkit-keyframes slideIn{
	from{
		-webkit-transform:translateY(500px);
	}
	to{
		-webkit-transform:translateY(0px);
	}
}
@keyframes slideIn{
	from{
		-webkit-transform:translateY(500px);
	}
	to{
		-webkit-transform:translateY(0px);
	}
}
@-webkit-keyframes slideOut{
	from{
		-webkit-transform:translateY(0px);
	}
	to{
		-webkit-transform:translateY(500px);
	}
}
@keyframes slideOut{
	from{
		-webkit-transform:translateY(0px);
	}
	to{
		-webkit-transform:translateY(500px);
	}
}
.recipe-poblish-material-list li{
	.padding-rl-8;
	border-bottom: 1px solid #eee;
}
.recipe-poblish-material-list li .form-control{
	.padding-tb-15;
	.padding-rl-5;
}
.recipe-material-minus,
.recipe-poblish-addrow img{
	width: 18px;
	height: 18px;
}
.recipe-poblish-addrow img{
	margin-right: 3px;
}
.recipe-poblish-material-list li.recipe-poblish-addrow{
	margin-top: 15px;
	border-bottom: 0;
}
.recipe-poblish-step-img{
	position: relative;
	width: 75px;
	height: 75px;
	border-radius: 5px;
	color: #b5b5b5;
	background-color: #e7e7e7;
}
.recipe-poblish-step-img .oimg{
	z-index: -1;
}
.poblish-img-addtxt{
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -22.5px;
	margin-left: -28px;
	width: 56px;
}
.recipe-poblish-step-img input{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 100;
}
.recipe-poblish-step-img .added-img{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	// background-image: url(../images/poblish.png);
	background-size: 100%;
	background-position: center;
}
.recipe-poblish-step-list li{
	.padding-tb-15;
	padding-right:8px;
	border-bottom: 1px solid #eee;
}
.recipe-poblish-step-list textarea.form-control{
	.padding-custom(5px,5px,20px,20px);
	height: 75px;
}
.recipe-poblish-step-list li.recipe-poblish-addrow{
	border-bottom: 0;
}
.recipe-search{
	.padding-custom(0,0,5px,10px);
	width: e("calc(100% - 28px)");
	height: 28px;
	border:0;
	border-top-right-radius: 5px;
 	border-bottom-right-radius: 5px;
 	float: left;
}
.icon-search-xs {
	.icon(28px,28px);
	margin: 0;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	background-size: 14px 14px;
	background-position: 14px center;
	background-image: url(../images/icon-search.png);
	float: left;
}

.recipe-search-submit{
	.padding-rl-10;
	height: 45px;
	line-height: 45px;
	text-decoration: none;
}

.recipe-sort-type a{
	.margin-custom(8px,8px,5px,5px);	
	width: e("calc((100% - 50px)/4)");
	height: 40px;
	border-radius: 5px;
	text-align: center;
	line-height: 40px;
	text-decoration: none;
	float: left;
}
.recipe-sort-type a.active{
	.cl-f-lorange;
}
.recipe-sort-type a:first-child{
	margin-left: 10px;
}
.recipe-sort-type a:last-child{
	margin-right: 10px;
}
.icon-cake{ 
	.icon(12px,16px);
	margin-right: 5px;
	background-image: url(../images/icon-cake.png);
}
.icon-bread{
	.icon(18px,16px);
	margin-right: 5px;
	background-image: url(../images/icon-bread.png);
}
.icon-biscuit{
	.icon(16px,16px);
	margin-right: 5px;
	background-image: url(../images/icon-biscuit.png);
}
.icon-spoon{
	.icon(19px,14px);
	margin-right: 5px;
	background-image: url(../images/icon-spoon.png);
}
.recipe-search-result-list{
	margin-top: 8px;
}
.icon-index {
	display: block;
	background-size: 100%;
	width: 45px;
	height: 45px;
	margin-left: 3px;
	margin-right: 3px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 25px;
	background-image: url(../../images/f-ic1.png);
}
.recipe-sort-list .dongtai-article,.recipe-sort-list .dongtai-info.with-article,.recipe-sort-list .option-wrapper {
	font-size: 12px;
}
.recipe-sort-list .dongtai-info.with-article {
	margin-bottom: 8px;
}
